projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42ca760
)
clipboard: GdkContentProviderUnion should return after writing the first matched...
author
Carlos Garcia Campos
<cgarcia@igalia.com>
Thu, 7 May 2020 09:21:18 +0000
(11:21 +0200)
committer
Carlos Garcia Campos
<carlosgc@gnome.org>
Thu, 7 May 2020 09:27:45 +0000
(11:27 +0200)
It continues trying with the other providers due to a missing early
return.
gdk/gdkcontentproviderimpl.c
patch
|
blob
|
history
diff --git
a/gdk/gdkcontentproviderimpl.c
b/gdk/gdkcontentproviderimpl.c
index 6685f3f8be5892e54f375ca4f1d378a6400e42ce..104f3fbf551aae98ee3ebe2514235191d984e218 100644
(file)
--- a/
gdk/gdkcontentproviderimpl.c
+++ b/
gdk/gdkcontentproviderimpl.c
@@
-302,6
+302,7
@@
gdk_content_provider_union_write_mime_type_async (GdkContentProvider *provid
gdk_content_provider_union_write_mime_type_done,
task);
gdk_content_formats_unref (formats);
+ return;
}
gdk_content_formats_unref (formats);
}